package web.util;

import org.apache.poi.ss.usermodel.Row;

/**
 * Excel 每行数据映射成对象的接口，类似于JDBCTemplate的ResultSetRowMapper()
 */
public interface IExcelRowMapper {
    Object mapFromXls(Row row) throws Exception;

    Object mapFromXlsx(Row row) throws Exception;
}
